<!DOCTYPE html>
<html ng-app="ngView">
<head lang="en">
    <meta charset="UTF-8">
    <title>sample</title>
    <script type="text/javascript" src="../../lib/jquery/1.11.0/jquery.min.js"></script>
    <script type="text/javascript" src="../../lib/angularjs/1.3.0-beta.5/angular.js"></script>
    <script type="text/javascript" src="../../lib/angularjs/1.3.0-beta.5/angular-route.js"></script>
</head>
<body>
<div ng-view></div>
<a ng-href="#/book/abc">href</a>
<script type="text/javascript">
    angular.module('ngView', ['ngRoute'], function ($routeProvider) {
        $routeProvider.when('/book/:title',
                {
                    template: '{{ title }}',
                    controller: [
                        '$scope',
                        '$routeParams',
                        function ($scope, $routeParams) {
                            $scope.title = $routeParams.title;
                        }
                    ]
                }
        );
    });
</script>
</body>
</html>